Return words firstWord-lastWord for every line in string.
-- part contents for background part 3
----- text -----
string
firstWord
lastWord
-- part contents for background part 7
----- text -----
the string to be split
the number of the first word in each line to return
the number of the last word in each line to return
-- part contents for background part 4
----- text -----
Return a string with one line for each line in the original string, and in the same order, but consisting of a subset of the words in the original line. Only words firstWord through lastWord are made a part of the output string to be returned.